﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OrderingEntities
{
    /// <summary>
    /// FoodOrders.
    /// </summary>
    [Serializable]
    [RaisingStudio.Data.DataTable("FoodOrders")]
    partial class FoodOrders
    {
        #region Members
		
		private int _ID;
		/// <summary>
		/// ID.
		/// </summary>
		[System.ComponentModel.Description("ID")]
        [RaisingStudio.Data.DataColumn("ID", AllowDBNull = false, IsPrimaryKey = true, AutoIncrement = true)]
		public int ID
		{
			get 
			{
				return this._ID;
			}
			set 
			{
				this._ID = value;
			}
		}

		private string _TableNO;
		/// <summary>
		/// TableNO.
		/// </summary>
		[System.ComponentModel.Description("TableNO")]
        [RaisingStudio.Data.DataColumn("TableNO", AllowDBNull = false)]
		public string TableNO
		{
			get 
			{
				return this._TableNO;
			}
			set 
			{
				this._TableNO = value;
			}
		}

		private string _KindName;
		/// <summary>
		/// KindName.
		/// </summary>
		[System.ComponentModel.Description("KindName")]
        [RaisingStudio.Data.DataColumn("KindName")]
		public string KindName
		{
			get 
			{
				return this._KindName;
			}
			set 
			{
				this._KindName = value;
			}
		}

		private string _FoodName;
		/// <summary>
		/// FoodName.
		/// </summary>
		[System.ComponentModel.Description("FoodName")]
        [RaisingStudio.Data.DataColumn("FoodName")]
		public string FoodName
		{
			get 
			{
				return this._FoodName;
			}
			set 
			{
				this._FoodName = value;
			}
		}

		private float _Price;
		/// <summary>
		/// Price.
		/// </summary>
		[System.ComponentModel.Description("Price")]
        [RaisingStudio.Data.DataColumn("Price", AllowDBNull = false)]
		public float Price
		{
			get 
			{
				return this._Price;
			}
			set 
			{
				this._Price = value;
			}
		}

		private float _FoodCount;
		/// <summary>
		/// FoodCount.
		/// </summary>
		[System.ComponentModel.Description("FoodCount")]
        [RaisingStudio.Data.DataColumn("FoodCount", AllowDBNull = false)]
		public float FoodCount
		{
			get 
			{
				return this._FoodCount;
			}
			set 
			{
				this._FoodCount = value;
			}
		}

		private string _UserName;
		/// <summary>
		/// UserName.
		/// </summary>
		[System.ComponentModel.Description("UserName")]
        [RaisingStudio.Data.DataColumn("UserName")]
		public string UserName
		{
			get 
			{
				return this._UserName;
			}
			set 
			{
				this._UserName = value;
			}
		}

		private DateTime _CreateTime;
		/// <summary>
		/// CreateTime.
		/// </summary>
		[System.ComponentModel.Description("CreateTime")]
        [RaisingStudio.Data.DataColumn("CreateTime", AllowDBNull = false)]
		public DateTime CreateTime
		{
			get 
			{
				return this._CreateTime;
			}
			set 
			{
				this._CreateTime = value;
			}
		}

		private string _Comment;
		/// <summary>
		/// Comment.
		/// </summary>
		[System.ComponentModel.Description("Comment")]
        [RaisingStudio.Data.DataColumn("Comment")]
		public string Comment
		{
			get 
			{
				return this._Comment;
			}
			set 
			{
				this._Comment = value;
			}
		}

		#endregion
    }
}
